package huanzhao.erp.domain.po;

import huanzhao.erp.domain.types.PermissionTarget;
import huanzhao.erp.domain.types.PermissionType;

/**
 * 用于表示权限的组合
 *
 * @author April
 * 2024/10/7 11:33
 * @version 1.0
 */
public record PermissionCombine(PermissionTarget target,PermissionType type) {
    public static PermissionCombine of(PermissionTarget target, PermissionType type) {
        return new PermissionCombine(target, type);
    }
}
